package edu.bath.sensorframework.triplestore.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface TripeStoreAgentServiceAsync {

	void getAgraphUsername(AsyncCallback<String> callback);

	void getAgraphCatID(AsyncCallback<String> callback);

	void getAgraphServerURL(AsyncCallback<String> callback);

	void hasAgraphPassword(AsyncCallback<Boolean> callback);

	void getAgraphRepoID(AsyncCallback<String> callback);

	void setAgraphPassword(String password, AsyncCallback<Void> callback);

	void setAgraphRepoID(String repoID, AsyncCallback<Void> callback);

	void setAgraphCatID(String catID, AsyncCallback<Void> callback);

	void setAgraphUsername(String username, AsyncCallback<Void> callback);

	void setAgraphServerURL(String serverURL, AsyncCallback<Void> callback);

	void updateSettings(String serverURL, String username, String catID,
			String repoID, AsyncCallback<Void> callback);

	void updateSettings(String serverURL, String username, String password,
			String catID, String repoID, AsyncCallback<Void> callback);

	void addDataSource(String handle, AsyncCallback<Void> callback);


}
